package com.yuantu.judiciary.model.vo;

import com.yuantu.judiciary.model.enums.OrganizationType;
import com.yuantu.judiciary.model.enums.UserAuthState;
import com.yuantu.judiciary.model.enums.UserType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户信息
 *
 * @author syw
 * @since 2023-08-11
 **/
@Data
@ApiModel("用户信息")
public class UserInfoVO {
    @ApiModelProperty("用户名称")
    private String username;
    @ApiModelProperty("账号id")
    private Long accountId;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("企业id")
    private Long orgId;
    @ApiModelProperty("组织类型")
    private OrganizationType orgType;
    @ApiModelProperty("组织名称")
    private String orgName;
    @ApiModelProperty("身份：管理员-PRIMARY、普通用户-SUB")
    private UserType userType;
    @ApiModelProperty("是否是运营商-关联分享按钮")
    private Boolean isOperator = false;
    @ApiModelProperty("运营商二维码")
    private String operatorCode;
    @ApiModelProperty("邀请码")
    private String inviteCode;
    @ApiModelProperty("是否显示扫码体验")
    private Boolean isShowInfo = false;
    @ApiModelProperty("是否是服务商,数据是数据库直接添加")
    private Boolean isDistributor = false;
    @ApiModelProperty("是否是运营商，数据在管理端页面添加")
    private Boolean isSupplier = false;
    @ApiModelProperty("认证状态:未注册-NOT_REGISTER、未认证-TO_VERIFY、通过-PASS、不通过-NOT_PASS")
    private UserAuthState userAuthState;
    @ApiModelProperty("批量查询二维码")
    private String queryCode;
    @ApiModelProperty("身份证号")
    private String certNo;
    @ApiModelProperty("微信openId")
    private String openId;
    @ApiModelProperty("需要上传授权文件总数")
    private Integer needUploadNum;
}
